import { request } from '@/utils/request';
import CRUD from '@/utils/request/CRUD';

// 对话CRUD
export const conversationCRUD = CRUD('/ai/chat/conversation');

// 获取我的对话
export function getMyConversation(params: Record<string, any>) {
  return request.get({
    url: '/ai/chat/conversation/get-my',
    params,
  });
}
